require 'rubygems'
gem 'soap4r'
require 'soap/wsdlDriver'
require 'soap/header/simplehandler'
require 'defaultDriver.rb'
require 'authStub.rb'
require 'WSHelpers.rb'

props = {
  :object => 'DataExtension',
  :props => ['Name','Description','CustomerKey']
}

filter = {
  :filterType => 'Simple',
  :filter => ['CustomerKey','like','APITestDe']
}

de = BuildRetrieve.new
resp = de.creates(props,filter)

resp.results.each do |result|
  puts result.name + " - " + result.customerKey + " - " + result.description
end